import Vue from 'vue'
import App from './App.vue'
import router from './router'
// 引入iconfont.css
import './assets/font/iconfont.css'
import Swiper from './components/Swiper.vue'

console.log(App, 'App')

// 全局注册一次,就不需要每次都在组件中使用引入了
Vue.component('SwiperComponent', Swiper)

Vue.config.productionTip = false

new Vue({
  router,
  render: (h) => h(App),
}).$mount('#app')
